package androtv.models;

import org.json.*;

public class News {
	public News(JSONObject obj) throws JSONException {
		 this.id = obj.getLong("id");
		 this.link= obj.getString("link");
		 this.title= obj.getString("title");
		 this.description= obj.getString("description").replace("&nbsp;", "");
		 this.imageUrl = obj.getString("image");
		 this.category= obj.getString("category");
		 this.pubDate= obj.getString("pubDate");
		 this.lastmod= obj.getString("lastmod");
	}
	
	public long   id;
	public String link;
	public String title;
	public String description;
	public String imageUrl;
	public String category;
	public String pubDate;
	public String lastmod; 
}
